package com.rose.doorto.footbathdoor.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lqc
 * @since 2024-07-11
 */
@Getter
@Setter
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;

    /**
     * 收货人名称
     */
    private String username;

    /**
     * 收货人手机号码
     */
    private String phone;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 县城
     */
    private String countyTown;

    /**
     * 乡镇
     */
    private String townShip;

    /**
     * 地址详情
     */
    private String addressDetails;

    /**
     * 是否为默认地址0是1否
     */
    private Boolean status;

    /**
     * 是否选中
     */
//    @Getter @Setter
//    public boolean checked = true; //是否选中


}
